package com.demo.util;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class RandomUtil {
    static Calendar calendar = Calendar.getInstance();
    static DateFormat dateFormat = new SimpleDateFormat("MM-dd-HH-mm-ss");
    public static String nowstr(){
        return dateFormat.format(new Date());
    }
}
